package com.pianzhu.blockchainemr.mapper;

import com.pianzhu.blockchainemr.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDateTime;

@Mapper
public interface LoginMapper {

    User login(String username, String password);

    void logout(LocalDateTime now, String username);
}
